<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%String contextPath = request.getContextPath();%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>欢迎</title>
<script type="text/javascript" src="<%=contextPath%>/scripts/jquery.js"></script>
<link rel="stylesheet" href="<%=contextPath%>/css/welcome.css" type="text/css" />
</head>
<body>

<div id="padding" style="display:none;"></div>
<div id="body" style="display:none;">
<div id="content">
  <img alt="" src="${pageContext.request.contextPath}/images/welcome.gif" style="width:250px;height:134px;padding-top:85px;"/>
  <div id="error-message">
    <h1>欢迎</h1>
    <p>欢迎使用来到7号生态酒店管理系统．</p>
    <p>若遇到任何问题，请与管理员联系．</p>
	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
		width="100%" height="80px"> 
         <param name="movie" value="<%=contextPath%>/others/time.swf" /> 
         <param name="quality" value="high" />
         <param name="menu" value="flase" />
         <param name="wmode" value="transparent" />
         <embed src="<%=contextPath%>/others/time.swf" width="100%" height="80px" type="application/x-shockwave-flash" menu="flase" wmode="transparent"></embed> 
       </object>
  </div>
</div>
</div>
<script type="text/javascript">
$(function(){
	var h = ($(document).height()-$("#body").height())/2 - 35;
	$("#padding").height(h + "px").show(1000);
	$("#body").fadeIn(1000);
});
</script>
</body>
</html>
